package com.zhupanlin.zhyl.user.client;

import com.zhupanlin.zhyl.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zhupanlin
 * @version 1.0
 * @description: TODO
 * @date 2024/12/7 21:03
 */
@FeignClient(value = "service-user")
@Repository
public interface PatientFeignClient {

    // 根据就诊人id获取就诊人信息
    @GetMapping("/apu/user/patient/inner/get/{id}")
    Patient getPatientOrder(@PathVariable("id") Long id);

}
